package com.excel.read;

import java.lang.reflect.Type;
import java.util.Map;

public interface ExcelCallBack<T> {

    public void readLine(int row, int column, String value, Map<String, String> map);

    public void readHeader(int row, int column, String value, Map<String, String> map);

    public void add(String key,String value);

    public Map<String,String> getParams();

    default T read(Map<String, String> map) {
        Type genericSuperclass = this.getClass().getGenericSuperclass();
        return null;
    }
}
